package com.smart.entity.business;


import com.baomidou.mybatisplus.annotation.TableName;
import com.smart.model.excel.annotation.ExcelField;
import com.smart.model.excel.annotation.ExcelFields;
import com.smart.mybatis.entity.BaseEntity;
import java.math.BigDecimal;
import java.util.Date;

import com.smart.mybatis.annotation.Column;
import com.smart.mybatis.enums.QueryType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.FieldNameConstants;
import lombok.NoArgsConstructor;

/**
 * 点位管理
 *
 * @author wf
 * @since 2025-06-07 11:30:34
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@FieldNameConstants
@TableName("point_location")
@ExcelFields({
        @ExcelField(title = "点位名称", attrName = "pointName",  align = ExcelField.Align.CENTER, sort = 1),
        @ExcelField(title = "状态", attrName = "connectStatus",  align = ExcelField.Align.CENTER, sort = 2),
        @ExcelField(title = "公司名称", attrName = "companyName",  align = ExcelField.Align.CENTER, sort = 3),
        @ExcelField(title = "设备编号", attrName = "mn",  align = ExcelField.Align.CENTER, sort = 4),
        @ExcelField(title = "状态", attrName = "status",  align = ExcelField.Align.CENTER, sort = 5),
		@ExcelField(title = "能源类别", attrName = "energyType",  align = ExcelField.Align.CENTER, sort = 6),
		@ExcelField(title = "表号", attrName = "tableId",  align = ExcelField.Align.CENTER, sort = 7),
		@ExcelField(title = "状态", attrName = "isDeleted", align = ExcelField.Align.CENTER, sort = 3),
		@ExcelField(title = "创建者", attrName = "createBy", align = ExcelField.Align.CENTER, sort = 4),
		@ExcelField(title = "创建人ID", attrName = "createUser", align = ExcelField.Align.CENTER, sort = 5),
		@ExcelField(title = "创建部门ID", attrName = "createDept", align = ExcelField.Align.CENTER, sort = 6),
		@ExcelField(title = "创建公司ID", attrName = "createOrganization", align = ExcelField.Align.CENTER, sort = 7),
		@ExcelField(title = "创建时间", attrName = "createDate", align = ExcelField.Align.CENTER, sort = 8),
		@ExcelField(title = "更新者", attrName = "updateBy", align = ExcelField.Align.CENTER, sort = 9),
		@ExcelField(title = "更新时间", attrName = "updateDate", align = ExcelField.Align.CENTER, sort = 10),
		@ExcelField(title = "备注信息", attrName = "remarks", align = ExcelField.Align.CENTER, sort = 11)
})
public class PointLocationEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;
	/**
	 * 点位名称
	 */
    @Column(name = "point_name", queryType = QueryType.LIKE, isNull = false)
    private String pointName;
	/**
	 * 层级ID
	 */
    private String dictId;
	/**
	 * 连接状态
	 */
	@Column(name = "connect_status")
    private String connectStatus;
	/**
	 * 公司名称
	 */
	@Column(name = "company_name")
    private String companyName;
	/**
	 * 设备编号
	 */
    @Column(name = "mn", queryType = QueryType.EQ)
    private String mn;
	/**
	 * 能源类别
	 */
	@Column(name = "energy_type")
	private String energyType;
	/**
	 * 表号
	 */
	@Column(name = "table_id")
	private String tableId;
	/**
	 * 禁止启用状态
	 */
	@Column(name = "is_disable")
	private int isDisable;
	/**
	 * 状态
	 */
	private String status;
	/**
	 * 状态（0正常 1删除）
	 */
	@Column(name = "is_deleted")
	private String isDeleted;
	/**
	 * 创建人公司ID
	 */
	@Column(name = "create_organization")
	private String createOrganization;


}
